package com.tinygone.hello.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.net.UnknownHostException;

/**
 * hello
 *
 * @author TINYGONE
 * @since 2021-07-25 09:43
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() throws UnknownHostException {
        System.out.println("hello");
        return "hello";
    }

}